package com.lkl.feign.fallback;

import com.lkl.entity.Book;
import com.lkl.feign.BookFeignClient;
import org.springframework.stereotype.Component;

/**
 * @author likelong
 * @date 2022/9/8
 */
@Component
public class BookFallbackFeignClient implements BookFeignClient {
    @Override
    public Book findBookById(int bid) {
        return new Book();
    }
}
